cmake_minimum_required(VERSION 2.8)
project(c2cpp)

set(CACHE SUPPORT_CPP:bool  OFF)
if(${SUPPORT_CPP}) 
	add_definitions(-DSUPPORT_CPP)	
endif()


add_executable(c2cpp c2cpp.cpp)
add_library(api SHARED api.c)
target_link_libraries(c2cpp api)

